@import "./variable/variable.less";

.table-wrapper {
    flex: 1;
    padding: 0 20px;
    overflow: hidden;
}

.cl-table-header {
    padding: 8px 0 !important;
    background: @tableHeaderColor !important;
    color: @contentColor;
    font-size: @tableFontSize;
    border-bottom: 1px solid @dividerColor !important;
    border-right: 1px solid @dividerColor !important;
}

.cl-table-cell {
    padding: 8px 0 !important;
    color: @contentColor !important;
    font-size: @tableFontSize;
    border-bottom: 1px solid @dividerColor !important;
    border-right: 1px solid @dividerColor !important;
}

.cl-table-select.el-select {
    width: 150px;

    .el-input__inner {
        border-color: @frameColor;
        color: @contentColor;
        padding-left: 12px;
    }
}

.cl-table-select.el-input {
    width: 150px;

    .el-input__inner {
        border-color: @frameColor;
        color: @contentColor;
        padding: 0 12px;
    }

    .el-input.is-active .el-input__inner, .el-input__inner:focus {
        border-color: @primaryColor;
    }
}

.cl-table-select.el-range-editor {
    width: 250px;
    border-color: @frameColor;
    color: @contentColor;
}

.el-table .caret-wrapper {
    height: 18px;

    .sort-caret.ascending {
        top: -3px;
    }

    .sort-caret.descending {
        bottom: -1px;
    }
}

.el-table--border, .el-table--group {
    border: 1px solid @dividerColor;
    border-right: none;
    border-bottom: none;
}

.el-table--border::after, .el-table--group::after, .el-table::before {
    background-color: @dividerColor;
}

.el-table__column-filter-trigger {
    display: inline-flex;
    align-items: center;

    vertical-align: middle;
    height: 18px;
    margin-left: 3px;
}
